package com.github.zihang.fallback;

import com.github.zihang.remote.UserFeignHystrixRemote;
import org.springframework.stereotype.Component;

/**
 * @ClassName UserFallback
 * @DESCRIPTION TODO
 * @Author RuanlinJing
 * @Date 2018/6/19 23:16
 * @Version 1.0
 **/
@Component
public class UserFeignHystrixFallback implements UserFeignHystrixRemote {
    @Override
    public String listUsers() {
        System.out.println("服务调用失败");
        return "服务调用失败";
    }
}
